/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-9-24 下午1:24 Created by dwzhang
 */
package com.jade.bss.weixin.api.component.protocol;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.jade.bss.weixin.api.protocol.json.Response;

/**
 * 获取第三方应用平台Access Token的响应。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-9-24 下午1:24
 */
public class AccessTokenResponse extends Response
{
    @JsonProperty ("component_access_token")
    private String accessToken;
    @JsonProperty ("expires_in")
    private int expiresIn;

    public String getAccessToken()
    {
        return accessToken;
    }

    public void setAccessToken(String accessToken)
    {
        this.accessToken = accessToken;
    }

    public int getExpiresIn()
    {
        return expiresIn;
    }

    public void setExpiresIn(int expiresIn)
    {
        this.expiresIn = expiresIn;
    }
}
